﻿<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false"  masterpagefile="~/Admin/Main.master" title="站点信息配置" CodeFile="Website.aspx.cs" Inherits="Admin_Website" %>

<asp:Content ID="Content1" ContentPlaceHolderID="LeftMenu" Runat="Server">
  	<div class="leftMenuTitle">
		系统信息
	</div>
	<ul class="leftMenu">
		<li><a href="Desktop.aspx">系统桌面</a></li>
		<li><a href="Website.aspx">站点信息</a></li>
		<li><a href="MenuConfig.aspx">栏目配置</a></li>
	</ul>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MidContent" Runat="Server">
  <div id="mainMenu">
  	<ul>
		<li><a href="Website.aspx">站点信息</a></li></ul>
  </div>
   <div id="main">
   <asp:Label id="Msg" runat="server" Text="" CssClass="msg" Visible="False"></asp:Label>
    <table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D7D7D7">
      <tr>
        <td colspan="2" bgcolor="#FFFFFF" class="mainTitle">
            站点信息配置&nbsp;</td>
      </tr>
      <tr>
        <td align="right" bgcolor="#FFFFFF" class="mainLeftTd">
            网站名称:</td>
        <td bgcolor="#FFFFFF">&nbsp;<asp:TextBox ID="WebsiteName" runat="server"></asp:TextBox>&nbsp;
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="WebsiteName"
                Display="Dynamic" ErrorMessage="网站名称不能为空"></asp:RequiredFieldValidator>
            <span class="explain">用于网站位置导航</span></td>
      </tr>
      <tr>
        <td align="right" bgcolor="#FFFFFF" >
            网站标题:</td>
        <td bgcolor="#FFFFFF">&nbsp;<asp:TextBox ID="WebsiteTitle" runat="server"></asp:TextBox><span class="explain">&nbsp;
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="WebsiteTitle"
                Display="Dynamic" ErrorMessage="网站标题必须填写"></asp:RequiredFieldValidator>用于网站标题显示</span></td>
      </tr>
        <tr>
            <td align="right" bgcolor="#ffffff">
                Meta 关键字:</td>
            <td bgcolor="#ffffff">
                &nbsp;<asp:TextBox ID="KeyWords" runat="server"></asp:TextBox><span class="explain">&nbsp;
                    针对搜索引擎的关键字,多个关键字用 , 隔开</span></td>
        </tr>
        <tr>
            <td align="right" bgcolor="#ffffff">
                Meta 描述:</td>
            <td bgcolor="#ffffff">
                &nbsp;<asp:TextBox ID="Description" runat="server" Rows="5" TextMode="MultiLine"></asp:TextBox><span class="explain">&nbsp;
                    针对搜索引擎的描述</span></td>
        </tr>
        <tr>
            <td align="right" bgcolor="#ffffff">
                版权信息:</td>
            <td bgcolor="#ffffff">
                <asp:TextBox ID="CopyRight" runat="server" Rows="5" TextMode="MultiLine"></asp:TextBox><span class="explain">&nbsp; 支持 Html 代码</span></td>
        </tr>
      <tr>
        <td align="right" bgcolor="#FFFFFF"></td>
        <td bgcolor="#FFFFFF">&nbsp;<asp:Button ID="Save" runat="server" Text="保存信息" CssClass="inputBt" OnClick="Save_Click" /></td>
      </tr>
    </table>
  </div>
  <script language="JavaScript" type="text/javascript" >
        topMenuThisPage(1);//当前位置顶部菜单标识
        leftMenuThisPage(1,2);//当前位置左侧菜单标识
        mainMenuThisPage(1);//当前选项卡标识
  </script>
</asp:Content>

